package com.cl.blog.web.client;

import com.cl.blog.common.Result;
import com.cl.blog.service.BContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 付
 * @Date 2024-04-11 17:34
 * @Version 1.0
 * @description 归档数据
 * @since 1.0
 */
@RestController
@RequestMapping("/user/pigeonhole")
public class PigeonholeController {
	@Autowired
	BContentService bContentService;

	@GetMapping("/list")
	public Result list() {
		Object obj = bContentService.pigeonhole();
		return Result.success(obj);
	}
}
